﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class admin_Default : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!Page.IsPostBack)
        {
            String[] admin = Session["Admin"].ToString().Split(',');
            int id = int.Parse(admin[0].ToString());
            if (id > 0) Response.Redirect("http://localhost:2011/didong/admin/admin.aspx");
            else Response.Redirect("http://localhost:2011/didong/admin/Login.aspx");
        }
    }
}
